package com.zwr.sheller.shop.service;

import com.zwr.sheller.core.common.WQQBusinessException;
import com.zwr.sheller.core.pojo.Sign;

import java.util.List;

/**
 * @Author: 18032
 * @Date: 10:42 2022/1/10
 */
public interface SignService {
    /**
     * 店招管理,添加店招
     * @param sign 店招实体
     * @return 修改行数
     */
    Integer insertSign(Sign sign) throws WQQBusinessException;

    /**
     * 店招管理,店招全查询
     * @return 店招集合
     */
    List<Sign> selectAllSigns();

    /**
     * 修改店招信息
     * @param sign
     * @return
     */
    Integer updateSign(Sign sign) throws WQQBusinessException;

    /**
     * 删除店招
     * @param signId
     * @return
     */
    Integer deleteSign(Long signId) throws WQQBusinessException;
}
